Computer and Modernization ›› 2010, Vol. 1 ›› Issue (10): 63-67,7.doi: 10.3969/j.issn.1006-2475.2010.10.016
• 软件工程 • Previous Articles Next Articles
JIANG Xiu-feng, REN Zhi-xiong
Received:
Revised:
Online:
Published:
Abstract: This paper shows how to implement a compiler’s front end through an actual visual compiler. It’s a visual program contenting C subset and easy to operate. This compiler contents lexical analyzer, syntax analyzer, semantic analyzer, intermediate code generator, and a simple error recovery. Through this project, this paper intuitively shows lexical and syntax's construct processing, and describes lexical and syntax’s function and construct processing.
Key words: top-down, bottom-up, c-minus, lexical, syntax, compiler
CLC Number:
TP311
JIANG Xiu-feng;REN Zhi-xiong. Design and Implementation of Visual Compiler [J]. Computer and Modernization, 2010, 1(10): 63-67,7.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.c-a-m.org.cn/EN/10.3969/j.issn.1006-2475.2010.10.016
http://www.c-a-m.org.cn/EN/Y2010/V1/I10/63